#ifndef CLIENT_HPP
#define CLIENT_HPP

#include <sys/epoll.h>
#include "SendList.hpp"
#include "Point.hpp"
/**
 * client class
 **/
class Client
{
	public:
	Client(int);
	~Client();

	/* default constructor (called by std::map) */
	Client();

	struct epoll_event epollEvent;

	int sfd;
	char* login;
	Point position;
	Point speed;
	SendList sendList;
	char* map;

	void setPosition(double,double);
	void setSpeed(double,double);
	void addSend(char* send);
	void clearSendList();
};

#endif
